package com.future.registry;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Eureka启动入口
 *
 * @author Mr.Bao
 * @create 2017-11-07-20:09
 * @since 1.0.0
 */
@EnableEurekaServer //启动一个服务注册中心
@SpringBootApplication
public class RegistryApplication {

    public static void main(String args[]){
        SpringApplication.run(RegistryApplication.class,args);
    }
}
